package com.gdufs.secondhandwebsite.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;


@Data
public class Goods {
    private Long goodsId;

    private String goodsName;

    private String goodsIntro;

    private String goodsTypeName;

    private String goodsImgPath;

    private Integer originalPrice;

    private boolean isSold;

    private boolean isDel;

    private int wantNum;

    private  int collectNum;

    private String createUser;

    private String userImg;

    private String postAddress;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

}
